package com.smh;

public class Cat extends Animal{
    public void catchMouse(){
        System.out.println("抓老鼠");
    }

    @Override
    public void eat(String something) {
        System.out.println(this.getAge()+"的"+this.getColour()+"的"+
                "猫眯着眼睛侧着头吃"+something);
    }

    public Cat(int age, String colour) {
        super(age, colour);
    }

    public Cat() {
    }
}
